﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text.RegularExpressions;

namespace Bazza.Models
{

    public class FilterParser
    {
        private String FilterText;
        private IEnumerable<Fields> ExistingFields;
        private  Hashtable FilterMethods;

        public FilterParser(String filterText, IEnumerable<Fields> existingFields)
        {
            this.FilterText = filterText;
            this.ExistingFields = existingFields;
        }

        private String nextPredikate()
        {
            var separator = new Regex("(/|/|)|(/&/&)");
            var comparation = new Regex("<|>|(==)|(!=)");
            
            
            return "";
        }
    }
}